function [ patterns ] = get_patterns()

global N;
global FALSE;

% getPatterns:
% Esta funcion retorna los patrones a utilizar.

patterns = zeros(N+1);
k = 1;
for i = 0:2^N-1 
    p = dec2bin(i,N) - '0';
    for j = 1:N
        if p(j) == 0
            p(j) = FALSE;
        end
    end
    pattern = [-1 p];
    patterns(:,k) = pattern';
    k = k+1;
end


end

